package com.oocl.oopdemo.fiveday;

import java.io.UnsupportedEncodingException;
import java.util.Arrays;

public class EncodingTest {

	 public static void main(String[] args) throws UnsupportedEncodingException {
		String s="你";
		byte[] ss=s.getBytes();
		byte[] ss1=s.getBytes("utf-8");
		System.out.println(Arrays.toString(ss));
		System.out.println(Arrays.toString(ss1));
//		System.out.println(new String(ss,"gbk"));
	}
	
	
	
}
